#!/bin/bash

echo "gen model name in UA string..."
python build/jrd_perso_gen/genUaModelName.py

echo "Update current jrd-l10n directory by strings.xls..."
python build/jrd_perso_gen/jrd_xlsToFiles.py

echo "Merge gaia-l10n and jrd-l10n..."
cd gaia/jrd-l10n/
./JrdTranslate.pl

echo "Check translation strings..."
cp -p TranslateCheck.pl out
cd out
./TranslateCheck.pl
cd ..

echo "Copy directory gaia/jrd-l10n/out to out/l10n..."
cp -rf out ../../out/l10n/
cd ../../

